<script type='text/javascript'>
    var chartParams = {{{ chartParams }}},
      chartType = {{{ chartType }}}
    new Morris[chartType](chartParams)
</script>